package com.jinmdz.app.dao.dao;

import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.Date;

/**
 * GlobalDao
 *
 * @author LiCongLu
 * @date 2020-02-15 13:48
 */
public interface GlobalDao {

    /**
     * 获取数据库当前日期
     *
     * @param
     * @return
     * @author LiCongLu
     * @date 2020-02-15 13:38
     */
    @Select("select now()")
    @ResultType(Date.class)
    Date getNowForDate();
}